Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from WatchKit storyboard to SwiftUI and its lifecycle #739

Merged
merged 52 commits into from
Oct 30, 2024
Merged

Conversation

timbms
Copy link
Contributor

@timbms timbms commented Nov 7, 2023

Get rid of a build warning that WatchKit storyboards are deprecated as of watchOS 7.0.
Addresses #738 and #748

timbms and others added 7 commits November 7, 2023 23:42
saveTrustedCertificate() writes with PropertyListEncoder instead of NSKeyedArchiver
loadTrustedCertificates() attempts first decoding with PropertyListDecoder() if error is thrown it unarchives with NSKeyedUnarchiver()

Signed-off-by: Tim Bert <[email protected]>
Signed-off-by: Dan Cunningham <[email protected]>
Signed-off-by: Tim Bert <[email protected]>
…ge from closure to function (in the past this allowed reuse code for challenge responses between Kingfisher and Alamofire libraries), simplified their signature as the first two parameters were ignored, avoids useless initializers for URLSession and URLSessionDataTask (#736)

Signed-off-by: Dan Cunningham <[email protected]>
Co-authored-by: Dan Cunningham <[email protected]>
Signed-off-by: Tim Bert <[email protected]>
* Migrate onReceiveSessionTaskChallenge and onReceiveSessionTaskChallenge from closure to function (in the past this allowed reuse code for challenge responses between Kingfisher and Alamofire libraries), simplified their signature as the first two parameters were ignored, avoids useless initializers for URLSession and URLSessionDataTask

* Fix for keyWindow deprecation warning

---------

Signed-off-by: Dan Cunningham <[email protected]>
Co-authored-by: Dan Cunningham <[email protected]>
Signed-off-by: Tim Bert <[email protected]>
@digitaldan
Copy link
Contributor

Cool! is this ready for review or are you still working on it?

@timbms
Copy link
Contributor Author

timbms commented Nov 13, 2023

Am still working on it. The sitemap is hard wired. This should be changed.

@timbms
Copy link
Contributor Author

timbms commented Nov 16, 2023

Also considers #722 - allowing to set the sitemap path to, for instance, uicomponents_watch

@timbms timbms linked an issue Dec 27, 2023 that may be closed by this pull request
3 tasks
@timbms timbms requested review from weakfl and digitaldan December 27, 2023 20:28
@timbms timbms mentioned this pull request Oct 1, 2024
3 tasks
@digitaldan
Copy link
Contributor

This looks good to me ! I say merge when ready !

@timbms timbms merged commit f823734 into develop Oct 30, 2024
2 checks passed
@timbms timbms deleted the watchkit branch October 30, 2024 06:32
@maxulm
Copy link

maxulm commented Oct 30, 2024

Cool! When can we expect an update in Testflight?

@timbms
Copy link
Contributor Author

timbms commented Oct 30, 2024

Should not be very long

@maxulm
Copy link

maxulm commented Oct 31, 2024

incoming-204D77B5-37DF-4E01-8C8F-1273E925FBF6
Hi,
I‘ve updated to the new Version and this is what I get.

@timbms
Copy link
Contributor Author

timbms commented Oct 31, 2024

We miss some instructions here. Please do the following

  1. On iPhone go to Settings, select the relevant "Sitemap for Apple Watch"
  2. On Watch: swipe 2 times to the left, press "Sync Preferences", swipe back to sitemap

@maxulm
Copy link

maxulm commented Oct 31, 2024

incoming-DF61EE33-5B4B-4D25-B7EB-D279F9487623
Unfortunately this didn‘t solve the problem.
Even reinstalling the app on the watch didn‘t work.

@timbms
Copy link
Contributor Author

timbms commented Oct 31, 2024

Let's continue this discussion on #800.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning for WatchKit usage in watch app
3 participants